package com.stox.client.api.watchlist.event;

import org.springframework.context.ApplicationEvent;

import com.stox.shared.model.WatchlistEntry;

public class WatchlistEntryAddedEvent extends ApplicationEvent {
	private static final long serialVersionUID = 1L;
	
	private final WatchlistEntry watchlistEntry;
	
	public WatchlistEntryAddedEvent(Object source, WatchlistEntry watchlistEntry) {
		super(source);
		this.watchlistEntry = watchlistEntry;
	}
	
	public WatchlistEntry getWatchlistEntry() {
		return watchlistEntry;
	}
}
